<?php
/**
 * OaUserEmployee数据模型
 */
class OaUserEmployeeTable {
	// 数据表模型配置
	public $config = [
			'name' => 'oa_user_employee',
			'title' => '用户员工对应表',
			'search_key' => '',
			'add_button' => 1,
			'del_button' => 1,
			'search_button' => 0,
			'check_all' => 1,
			'list_row' => 20,
			'addon' => 'OaSystem'
	];
	
	// 列表定义
	public $list_grid = [ ];
	
	// 字段定义
	public $fields = [
			'appid' => [
					'title' => '应用ID',
					'type' => 'string',
					'field' => 'varchar(200) NOT NULL',
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'userid' => [
					'title' => '用户ID',
					'type' => 'num',
					'field' => 'int(10) NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'emp_id' => [
					'title' => '员工编号',
					'type' => 'num',
					'field' => 'int(10) NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'mobile' => [
					'title' => '手机号',
					'type' => 'string',
					'field' => 'varchar(200) NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'openid' => [
					'title' => 'OPENID',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'unionid' => [
					'title' => 'UNIONID',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'create_time' => [
					'title' => '创建时间',
					'type' => 'string',
					'field' => 'datetime NULL',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			],
			'update_time' => [
					'title' => '更新时间',
					'type' => 'string',
					'field' => 'datetime NULL',
					'placeholder' => '请输入内容'
			],
			'formid' => [
					'title' => 'wxFormId',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'remark' => '微信消息个人接收ID',
					'is_show' => 1,
					'placeholder' => '请输入内容'
			]
	];
}	